<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<h:html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">

<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Package Section</title>
</h:head>


<h:body>
	<h:form>
	 <p:menubar>  
        <p:submenu label="Packages Section" icon="ui-icon-gear">
          	<p:menuitem value="Index" icon="ui-icon-refresh" url="indexPackages.xhtml" />
            <p:separator />
            <p:menuitem value="Create Package" icon="ui-icon-contact" url="createPackage.xhtml"/>  
            <p:separator />
            <p:menuitem value="Search Package" icon="ui-icon-search" url="searchPackage.xhtml" />            
       </p:submenu>  
       <p:submenu label="Basic Products Section"  icon="ui-icon-gear">
            <p:menuitem value="Index" url="indexBasicProducts.xhtml" icon="ui-icon-refresh" />  
            <p:separator />  
            <p:menuitem value="Create Basic Product" icon="ui-icon-contact" url="createBasicProduct.xhtml" /> 
            <p:separator /> 
            <p:submenu label="Search Basic Product" icon="ui-icon-search" > 
            	<p:menuitem value="Search Residences" url="residences.xhtml" /> 
            	<p:menuitem value="Search Transports"  url="transports.xhtml" /> 
            	<p:menuitem value="Search Excursions" url="excursions.xhtml" /> 
            </p:submenu>
       </p:submenu>
     
        <f:facet name="options">  
              <p:commandButton type="submit" ajax="false" action = "createPackage" value="Go To The Package!" icon="ui-icon-gear" />
            <p:commandButton type="submit" ajax="false" action = "#{logoutBean.logout()}" value="Logout" icon="ui-icon-extlink" />  
        </f:facet>
       
       </p:menubar>
        </h:form>
        
        
 <p:panel header ="Package Section">       
	<h:link outcome = "createPackage" value = "Create Package"/> <br/>
	<h:link outcome = "searchPackage" value = "Search Package"/> 
</p:panel>


</h:body>
</h:html>